| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | 'use strict' |
||
| 33 | it('should be valid with minimal data', function (done) { |
||
| 34 | var expense = new Expense({ |
||
| 35 | company: new Company({name: 'ABC Oil Gas Company'}), |
||
| 36 | items: [{ desc: 'Boiler Service and Repair', total: 80.00 }] |
||
| 37 | }) |
||
| 38 | |||
| 39 | expense.validate(function (err) { |
||
| 40 | expect(err).to.not.exist |
||
| 41 | done() |
||
| 42 | }) |
||
| 43 | }) |
||
| 44 | }) |
||
| 45 |